# -*- encoding:utf-8 -*-
# !/usr/bin/env python
'''
    python-0819-03.py
    ======================
    @descript: 
    @copyright:nnz
    @author:dln
    @date: 2021/8/19 19:46
    @version:v1.0
'''
import os
from os import read
#
# v_file_path=r'work.txt'
# v_reuslt:str=''
# v_lenth=8    #设置获取的长度
#
# v_in=open(v_file_path,'r',encoding='utf-8')
# v_reuslt=v_in.read(v_lenth)
# print(v_reuslt)
from typing import List

#以行为单位获取数据
v_result:str=''
v_path='work.txt'
v_in=open(v_path,'r',encoding='utf-8')
v_result=v_in.readlines()
v_in.close()
print(v_result)

